package com.heima.apis.search;

import com.heima.model.common.dtos.ResponseResult;
import com.heima.model.search.dtos.UserSearchDto;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;

@Api
public interface UserSearchControllerApi {

    @ApiOperation("保存用户搜索词")
    ResponseResult saveSearch(UserSearchDto dto) throws Exception;


    @ApiOperation("删除用户搜索词")
    ResponseResult delSearch(UserSearchDto dto) throws Exception;
}
